package com.ruoyi.web.controller.mapper;

import java.util.Date;
import java.util.List;
import com.ruoyi.web.controller.demo.domain.SysSchedulZhi;
import com.ruoyi.web.controller.demo.domain.SysSchedulPaiRelate;
import org.apache.ibatis.annotations.Mapper;

/**
 * sys_schedul_zhiMapper接口
 * 
 * @author ruoyi
 * @date 2022-12-27
 */
@Mapper
public interface SysSchedulZhiMapper 
{
    /**
     * 查询sys_schedul_zhi
     * 
     * @param id sys_schedul_zhi主键
     * @return sys_schedul_zhi
     */
    public SysSchedulZhi selectSysSchedulZhiById(Long id);

    /**
     * 查询sys_schedul_zhi列表
     * 
     * @param sysSchedulZhi sys_schedul_zhi
     * @return sys_schedul_zhi集合
     */
    public List<SysSchedulZhi> selectSysSchedulZhiList(SysSchedulZhi sysSchedulZhi);

    /**
     * 新增sys_schedul_zhi
     * 
     * @param sysSchedulZhi sys_schedul_zhi
     * @return 结果
     */
    public int insertSysSchedulZhi(SysSchedulZhi sysSchedulZhi);

    /**
     * 修改sys_schedul_zhi
     * 
     * @param sysSchedulZhi sys_schedul_zhi
     * @return 结果
     */
    public int updateSysSchedulZhi(SysSchedulZhi sysSchedulZhi);

    /**
     * 删除sys_schedul_zhi
     * 
     * @param id sys_schedul_zhi主键
     * @return 结果
     */
    public int deleteSysSchedulZhiById(Long id);
    public List<String> getDate();

    /**
     * 批量删除sys_schedul_zhi
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSysSchedulZhiByIds(String[] ids);

    /**
     * 批量删除schedul_pai_relate
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSysSchedulPaiRelateByPaiIds(String[] ids);
    
    /**
     * 批量新增schedul_pai_relate
     * 
     * @param sysSchedulPaiRelateList schedul_pai_relate列表
     * @return 结果
     */
    public int batchSysSchedulPaiRelate(List<SysSchedulPaiRelate> sysSchedulPaiRelateList);
    

    /**
     * 通过sys_schedul_zhi主键删除schedul_pai_relate信息
     * 
     * @param id sys_schedul_zhiID
     * @return 结果
     */
    public int deleteSysSchedulPaiRelateByPaiId(Long id);
}
